@layout("/common/_container.html",{js:["/assets/pandian/pandianJihua/pandianJihua.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">盘点计划表管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
		                    <div class="layui-inline">
								<select id="warehouseId">
					            	<option value="">选择仓库</option>
						            @for(item in wlist!){
						            <option value="${item.id}">${item.warehouseName}</option>
						            @}
					        	</select>
		                    </div>
				            <div class="layui-inline">
                				<input id="condition" class="layui-input" type="text" placeholder="盘点名称"/>
				            </div>
				            <div class="layui-inline">
				                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                				<button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
				                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
				            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="pandianJihuaTable" lay-filter="pandianJihuaTable"></table>
                    <table class="layui-table" id="pandianJihuaUserTable" lay-filter="pandianJihuaUserTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    {{#  if(d.status === '未开始'){ }}
    	<a class="layui-btn layui-btn-normal layui-btn-xs" style="font-size: 7px;" lay-event="start">开始</a>
    {{#  }else if(d.status === '进行中'){ }}
    	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">结束</a>
    {{#   } }}
</script>
<script type="text/html" id="toolbarfromDetailed">
            <div class="layui-inline">
                <button id="btnAddDetailed" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加人员安排</button>
            </div>
</script>
<script type="text/html" id="tableBarDetailed">
    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="todetailed">盘点明细</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="deleteDetailed">删除</a>
</script>


@}